home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C20 / FileEditor.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-25  |  468 b   |  20 lines

  1. //: C20:FileEditor.h
  2. // From Thinking in C++, 2nd Edition
  3. // Available at http://www.BruceEckel.com
  4. // (c) Bruce Eckel 1999
  5. // Copyright notice in Copyright.txt
  6. // File editor tool
  7. #ifndef FILEEDITOR_H
  8. #define FILEEDITOR_H
  9. #include <string>
  10. #include <vector>
  11. #include <iostream>
  12.  
  13. class FileEditor : 
  14. public std::vector<std::string> {
  15. public:
  16.   FileEditor(char* filename);
  17.   void write(std::ostream& out = std::cout);
  18. };
  19. #endif // FILEEDITOR_H ///:~
  20.